package com.bitcola.activity.mapper;

import com.bitcola.activity.entity.InnerTest;
import com.bitcola.activity.entity.RedPacketHelp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;

@Repository

public interface  RedPacketHelpMapper  extends Mapper<RedPacketHelp> {

     int  addFactorAndAmount(@Param("factor") BigDecimal factor,@Param("currentAmount") BigDecimal currentAmount,@Param("id")  String id);
     int updateStatus(@Param("status") String status,@Param("currentStatus") String currentStatus,@Param("id")  String id);

}
